home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
FLM
/
otherfiles
/
english
/
ARexx
/
golded_look.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-01
|
1KB
|
41 lines
/* Script which allows to send a word from GoldEd to FLM
To call this script automatically from GoldEd, follow the following
steps:
1. Start GoldEd and start "Keyboard..." in menu "Config".
2. In the following window select "Record", and then press a key
combination by which later you'll be able to call FLM. E.g. Ctrl+F10.
3. In the following window select "Add".
4. On the right, you must now select ARexx, and then the gadget on the
right near to "Add". In the following filerequester, select this file
("golded_look.rexx").
5. Now click "Ok" and "Save".
Now test just once if all this worked. If all is OK, now you should be
able e.g. to open the "FLM ARexx Dictionary" through Ctrl+F10.
-> Warning: The program RexxMast must be active !!!
*/
/* Here indicate, please, the FLM path and program name */
initiation=run "dh0:FLM/FLM"
Options RESULTS
IF ~show('P','FLM') THEN DO
/* if FLM is not yet running */
ADDRESS COMMAND initiation
ADDRESS COMMAND "SYS:RexxC/WaitForPort FLM"
END
LOCK CURRENT /* Lock window for a short while */
QUERY WORD /* Word under the cursor in variable RESULT */
a=RESULT /* Contents of RESULT in a */
UNLOCK /* Unlock window again */
Address FLM LOOKWORD a /* Contents of variable a to FLM */